package com.huiqiao.lesson7.proxy.cglibProxy;

import com.huiqiao.lesson7.proxy.jdkProxy.Rent;

/**
 * 房东
 */
public class Landlord {

    /** 账户余额 */
    private int account = 100;

    public void chargeRent(int money) {
        account += money;
        System.out.println("收租成功，当前账户余额 " + account + " 元");
    }
}
